package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.PayHistory;

import java.util.List;

public interface PayHistoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PayHistory record);

    int insertSelective(PayHistory record);

    PayHistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PayHistory record);

    int updateByPrimaryKey(PayHistory record);

    List<PayHistory> selectPayHistoryList(PayHistory payHistory);

    Integer getHisIdByCostId(Integer costId);

    public void updateByCostId(PayHistory history);
}